package com.moduleSys.mapper;


import com.moduleSys.entity.system.Menu;
import com.moduleSys.mapper.base.BaseMenuMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MenuMapper extends BaseMenuMapper {
    List<Menu> list();
    List<Menu> getMenuByRoleId(Long roleId);
    List<Menu> getAuthorizationMenu(Long userId);

    List<Menu> getMenuByRoleIds(List<Long> roleIds);

    List<Menu> selectByMap(Map<String, Object> map);

    void deleteBatchById(@Param("itemIds") Long[] itemIds);
}